package com.bz.vo;

import com.bz.pojo.TbItem;
import com.bz.pojo.TbItemCat;
import com.bz.pojo.TbItemParamItem;

import java.io.Serializable;

public class ItemVo implements Serializable {
    private static final long serialVersionUID = -6141056449592819520L;

    private TbItem item;
    private String itemDesc;
    private TbItemCat itemCat;
    private TbItemParamItem itemParamItem;

    public ItemVo() {
        this.item = item;
    }

    public ItemVo(TbItem item, String itemDesc, TbItemCat itemCat, TbItemParamItem itemParamItem) {
        this.item = item;
        this.itemDesc = itemDesc;
        this.itemCat = itemCat;
        this.itemParamItem = itemParamItem;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public TbItem getItem() {
        return item;
    }

    public void setItem(TbItem item) {
        this.item = item;
    }

    public String getItemDesc() {
        return itemDesc;
    }

    public void setItemDesc(String itemDesc) {
        this.itemDesc = itemDesc;
    }

    public TbItemCat getItemCat() {
        return itemCat;
    }

    public void setItemCat(TbItemCat itemCat) {
        this.itemCat = itemCat;
    }

    public TbItemParamItem getItemParamItem() {
        return itemParamItem;
    }

    public void setItemParamItem(TbItemParamItem itemParamItem) {
        this.itemParamItem = itemParamItem;
    }

    @Override
    public String toString() {
        return "ItemVo{" +
                "item=" + item +
                ", itemDesc=" + itemDesc +
                ", itemCat=" + itemCat +
                ", itemParamItem=" + itemParamItem +
                '}';
    }
}
